package cn.usain.service.impl;

import cn.usain.entity.Feedback;
import cn.usain.mapper.FeedbackMapper;

import cn.usain.service.FeedbackService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class FeedbackServiceImpl implements FeedbackService {
    @Autowired
    private FeedbackMapper feedbackMapper;
    @Override
    public void submitFeedback(Feedback feedback) {
        feedbackMapper.insertFeedback(feedback);
    }
}
